<%@ page language="java" import="java.util.*,com.fescoservice.model.*" pageEncoding="UTF-8"%>
<%
	String langfilename = "/resources/message";
	List companylist =(List)request.getAttribute("companyList");
%>
<%@include file="LocaleManager.jsp"%>
<div class="ui-widget ui-corner-all slideDiv">
<form name="company" id="companyForm">
<h3 class="ui-widget-header"><%=resource.getString("FS_T_CHOOSECOMPANY")%> </h3>
<div class="ui-widget-content">
<ul>
<% if(companylist.size()>0) { 
		Company company = null;
		for(int i=0;i<companylist.size();i++){
			company = (Company)companylist.get(i);
%>		
	<li>
		<input type="radio" name="companyId" value="<%=company.getCompId() %>" />
		<%=company.getCompName() %>
		<input type="hidden" name="compName<%=company.getCompId() %>" value="<%=company.getCompName() %>" />	
		<input type="hidden" name="compAddr<%=company.getCompId() %>" value="<%=company.getCompAddr() %>" />				
	</li>
<%	}
}else{ %>

	<li>				
		<%=resource.getString("FS_M_NORESULT")%>				
	</li>
<%} %>
</ul>
	<div style="height:30px">
		<div class="btn"><a href="javascript:closeCompanyName();" ><%=resource.getString("FS_T_CANCEL")%></a></div>
		<div class="btn"><a href="javascript:setCompanyName();"><%=resource.getString("FS_T_CONFIRM")%></a></div>
	</div>
	<div class="clear"></div>
</div>
</form>
</div>